package com.alex.statistics.pojo.request.explorationAnalysis;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "Z-Score异常检测请求参数")
public class ZScoreRequest {
    @Schema(
            description = "单维数据集合",
            required = true,
            example = "[1.2, 2.1, 3.4, 5.6, 7.8, 9.0]"
    )
    private List<Double> data;

    @Schema(
            description = "异常阈值(默认3σ)",
            example = "3.0",
            defaultValue = "3.0"
    )
    private Double threshold;
}